
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
Creating reports on library contents</TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="pbugp62.htm">Previous</A>&nbsp;&nbsp;<A HREF="pbugp64.htm" >Next</A>
<!-- End Header -->
<A NAME="X-REF302058245"></A><h1>Creating reports on library contents</h1>
<A NAME="TI1857"></A><p>You can generate three types of reports from the Library painter:</p>
<A NAME="TI1858"></A><p><A NAME="TI1859"></A>
<ul>
<li class=fi>The search results
report</li>
<li class=ds>Library entry reports</li>
<li class=ds>The library directory report
</li>
</ul>
</p>
<A NAME="TI1860"></A><p>The search results report contains the matching-entries information
that PowerBuilder displays after it completes a search, described
in <A HREF="pbugp56.htm#CHDCJEGF">"Searching targets, libraries,
and objects"</A>.
The other two types of reports are described in this section.</p>
<A NAME="TI1861"></A><h2>Creating library entry reports</h2>
<A NAME="TI1862"></A><p>Library entry reports provide information about selected entries
in the current target. You can use these reports to get printed
documentation about the objects you have created in your target.</p>
<A NAME="TI1863"></A><p><img src="images/proc.gif" width=17 height=17 border=0 align="bottom" alt="Steps"> To create library entry reports:</p>
<ol><li class=fi><p>Select the library entries you want information
about in the List view.</p></li>
<li class=ds><p>Select Entry&gt;Library Item&gt;Print
from the menu bar, or select Print from the pop-up menu.</p><p>The Print Options dialog box displays. </p><br><img src="images/lib24.gif"><br>
</li>
<li class=ds><p>If you have selected the Application object or
one or more menus, windows, or user objects to report on, select
the information you want printed for each of these object types. </p><p>For example, if you want all properties for selected windows
to appear in the report, make sure the Properties box is checked
in the Window/User Object group box.</p><p><img src="images/note.gif" width=17 height=17 border=0 align="bottom" alt="Note"> <span class=shaded>The settings are saved</span> <A NAME="TI1864"></A>PowerBuilder records these settings in the Library section
of the PowerBuilder initialization file.</p>
</li>
<li class=ds><p>Click OK.</p><p>PowerBuilder generates the selected reports and sends them
to the printer specified in Printer Setup in the File menu.</p></li></ol>
<br><A NAME="TI1865"></A><h2>Creating
the library directory report</h2>
<A NAME="TI1866"></A><p>The library directory report lists all entries in a selected
library in your workspace, showing the following information for
all objects in the library, ordered by object type:</p>
<A NAME="TI1867"></A><p><A NAME="TI1868"></A>
<ul>
<li class=fi>Name of object</li>
<li class=ds>Modification date and time</li>
<li class=ds>Size (of compiled object)</li>
<li class=ds>Comments
</li>
</ul>
</p>
<A NAME="TI1869"></A><p><img src="images/proc.gif" width=17 height=17 border=0 align="bottom" alt="Steps"> To create the library directory report:</p>
<ol><li class=fi><p>Select the library that you want the report
for.</p><p>The library must be in your current workspace.</p></li>
<li class=ds><p>Select Entry&gt;Library&gt;Print Directory
from the menu bar, or select Print Directory from the pop-up menu.</p><p>PowerBuilder sends the library directory report to the printer
specified under File&gt;Printer Setup in the menu bar.</p></li></ol>
<br>
